package com.jt.common.pageinfo;

import java.util.List;

/**
 * @Author: Jingyan
 * @Time: 2018-05-08 14:35
 * @Description: 分页对象
 */
public class PageInfoVo<T> {

    //总条数
    private long total;

    //总页数
    private int pages;
    
    //页面行数
    private int pageSize;
    
    //当前页码
    private int pageNum;
    
    //结果集
    private List<T> list;
    
    

    public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getPageNum() {
		return pageNum;
	}

	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}

	public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }


    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }
}